const { Schema } = require('./config')
const userSchema = new Schema({
  username: String,
  password: String,
  avatar: {
    type: String,
    default: "/avatar/default.jpg"
  },
  articleNum: Number,
  commentNum: Number
})

// 导出userSchema
module.exports = userSchema